package java8;


import java.io.Serializable;

public class User implements Serializable {
    private Long no;
    private String name;

    private String school;

    private int salary;

    private int age;

    public User() {
    }

    public User(Long no, String name, int age, String school) {
        this.no = no;
        this.name = name;
        this.age = age;
        this.school = school;
    }

    public Long getNo() {
        return no;
    }

    public void setNo(Long no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public User(Long no, String name, String school, int salary, int age) {
        this.no = no;
        this.name = name;
        this.school = school;
        this.salary = salary;
        this.age = age;
    }
}
